package com.zhz.mall.admin.modules.pms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhz.mall.admin.dto.ProductCateChildrenDTO;
import com.zhz.mall.admin.modules.pms.model.PmsProductCategory;

import java.util.List;

/**
 * <p>
 * 产品分类 Mapper 接口
 * </p>
 *
 * @author zhouhengzhe
 * @since 2023-01-09
 */
public interface PmsProductCategoryMapper extends BaseMapper<PmsProductCategory> {


    /**
     * 获取商品一级分类和二级分类的下拉级联数据
     * @return
     */
    List<ProductCateChildrenDTO> getWithChildren();

}
